package com.dankegongyu.lib.dialog;

import androidx.annotation.LayoutRes;

/**
 * @author wupuquan
 * @version 1.0
 * @since 2020/4/28 11:40
 */
public interface IDKDialog {

    /**
     * setContentView(int layoutResId)
     *
     * @return e.g. R.layout.dialog_xxx
     */
    @LayoutRes
    int getContentViewLayoutId();

    /**
     * init views and listeners etc.
     */
    void init();

    /**
     * do business
     */
    void doBusiness();
}
